import request from "@/api/request"

export function get(year){
    return request({
        url: '/api/plan/' + year,
        method: "get",
    })
}

export function update(year,planContent){
    return request({
        method: 'put',
        url: '/api/plan/' + year,
        params: {
            planContent: planContent,
        }
    })
}